.TH std::basic_istringstream::swap 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::basic_istringstream::swap \- std::basic_istringstream::swap

.SH Synopsis
   void swap( basic_istringstream& other );  \fI(since C++11)\fP

   Exchanges the state of the stream with those of other.

   This is done by calling basic_istream<CharT, Traits>::swap(other) and
   rdbuf()->swap(*other.rdbuf()).

.SH Parameters

   other - stream to exchange the state with

.SH Return value

   \fI(none)\fP

.SH Exceptions

   May throw implementation-defined exceptions.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   operator= moves the string stream
   \fI(C++11)\fP   \fI(public member function)\fP
   swap      swaps two basic_stringbuf objects
   \fI(C++11)\fP   \fI(public member function of std::basic_stringbuf<CharT,Traits,Allocator>)\fP


.SH Category:
     * Todo no example
